<?php
declare(strict_types=1);

return [[
    'type' => 'input',
    'title' => 'SecretId',
    'field' => 'secret_id',
    'props' => [
        'placeholder' => '请输入腾讯云API密钥SecretId'
    ],
    '$required' => true,
    '_fc_id' => 'id_Fqgfme9rioxkabc',
    'name' => 'ref_Fomwme9rioxkacc',
    'display' => true,
    'hidden' => false,
    '_fc_drag_tag' => 'input'
],
    [
        'type' => 'input',
        'title' => 'SecretKey',
        'field' => 'secret_key',
        'props' => [
            'placeholder' => '请输入腾讯云API密钥SecretKey'
        ],
        '$required' => true,
        '_fc_id' => 'id_F06jme9rioxkadc',
        'name' => 'ref_Fn9lme9rioxkaec',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'input'
    ],
    [
        'type' => 'input',
        'title' => 'AppId',
        'field' => 'app_id',
        'props' => [
            'placeholder' => '请输入短信应用App ID'
        ],
        '$required' => true,
        '_fc_id' => 'id_Fua8me9rioxkafc',
        'name' => 'ref_Flzlme9rioxkagc',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'input'
    ],
    [
        'type' => 'input',
        'title' => 'AppKey',
        'field' => 'app_key',
        'props' => [
            'placeholder' => '请输入短信应用App Key'
        ],
        '$required' => true,
        '_fc_id' => 'id_Fmwkme9rioxkalc',
        'name' => 'ref_Fm8tme9rioxkamc',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'input'
    ],
    [
        'type' => 'input',
        'title' => 'SignName',
        'field' => 'sign_name',
        'props' => [
            'placeholder' => '请输入短信签名内容'
        ],
        '$required' => true,
        '_fc_id' => 'id_Fdvume9rioxkahc',
        'name' => 'ref_F7ecme9rioxkaic',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'input'
    ],

    [
        'type' => 'group',
        'field' => 'tencent_sms_templates',
        'title' => '腾讯短信模板',
        'props' => [
            'min' => 1,
            'max' => 10,
            'rule' => [[
                'type' => 'input',
                'field' => 'template_id',
                'title' => '模板ID',
                'props' => [
                    'placeholder' => '请输入短信模板ID'
                ],
                'col' => [
                    'span' => 12
                ],
                '$required' => true,
                '_fc_id' => 'id_Ffiamf9en7x5abc',
                'name' => 'ref_F50qmf9en7x5acc',
                'display' => true,
                'hidden' => false,
                '_fc_drag_tag' => 'input'
            ],
                [
                    'type' => 'input',
                    'field' => 'template_content',
                    'title' => '短信内容',
                    'props' => [
                        'placeholder' => '请输入短信内容',
                        'rows' => 3,
                        'type' => 'textarea'
                    ],
                    'col' => [
                        'span' => 12
                    ],
                    '$required' => true,
                    '_fc_id' => 'id_Fex1mf9en7x5adc',
                    'name' => 'ref_Fm5amf9en7x5aec',
                    'display' => true,
                    'hidden' => false,
                    '_fc_drag_tag' => 'input'
                ]
            ]
        ],
        '_fc_id' => 'id_Fy7kmf9en7x6afc',
        'name' => 'ref_Fd74mf9en7x6agc',
        'display' => true,
        'hidden' => false,
        '_fc_drag_tag' => 'group'
    ]
];
